um\core\User D

Total Complexity 279
Dependencies 3
Dependents 2
Total lines 2,366
Lines of code 1,037
Logical lines of code 656
Comment lines 945
Methods 58
Properties 1

Methods 58

Method Rating Maintainability Complexity Lines of code
set()
C
36 24 76
flush_um_count_users_transient_update()
B
40 19 70
generate_profile_slug()
B
38 18 68
on_update_usermeta()
B
42 18 53
on_delete_usermeta()
B
42 17 57
secondary_role_field()
A
42 14 52
flush_um_count_users_transient_delete()
A
46 11 41
update_profile()
A
47 9 36
is_profile_noindex()
A
54 10 20
flush_um_count_users_transient_add()
A
49 8 36
set_registration_details()
S
51 7 26
profile_update()
S
55 6 19
user_has_metadata()
S
55 6 18
user_exists_by_name()
S
45 4 47
__construct()
S
41 3 58
delete()
S
57 5 17
profile_form_additional_section()
S
64 6 9
user_register_via_admin()
S
58 5 15
get_cached_data()
S
60 5 14
add_um_role_wpmu_new_user()
S
62 5 11
add_um_role_existing_user()
S
62 5 11
approve()
S
54 4 21
delete_user_handler()
S
55 4 19
clean()
S
65 5 9
toArray()
S
60 4 14
get_profile_slug()
S
61 4 13
get_role()
S
63 4 11
check_membership()
S
61 3 13
get_admin_actions()
S
60 3 12
assign_secretkey()
S
62 3 11
is_private_profile()
S
67 3 7
is_approved()
S
68 3 7
password_changed()
S
66 3 9
set_gravatar()
S
63 2 11
user_exists_by_email_as_username()
S
66 2 8
user_exists_by_id()
S
68 2 8
get_profile_link()
S
69 2 7
setup_cache()
S
68 2 7
is_private_case()
S
66 2 8
get_pending_users_count()
S
76 1 4
add_activation_replace_placeholder()
S
76 1 4
add_activation_placeholder()
S
77 1 4
remove_cache()
S
80 1 3
update_files()
S
80 1 3
maybe_generate_password_reset_key()
S
81 1 3
password_reset()
S
67 1 7
remove_cache_all_users()
S
76 1 4
reset()
S
80 1 3
delete_meta()
S
80 1 3
update_usermeta_info()
S
75 1 4
auto_login()
S
70 1 6
set_last_login()
S
79 1 3
deactivate()
S
68 1 7
reject()
S
70 1 6
pending()
S
70 1 6
email_pending()
S
68 1 7
set_status()
S
68 1 7
remove_cached_queue()
S
76 1 4